<?php

	require_once "email.class.php";
	$smtpserver = "smtp.163.com";
	$smtpserverport =25;
	$smtpusermail = "17755503369@163.com";
	$smtpemailto = $_POST['toemail'];
	$smtpuser = "new2008oh";//
	$smtppass = "����������";//
	$mailtitle = $_POST['title'];
	$mailcontent = "<h1>".$_POST['content']."</h1>";
	$mailtype = "HTML";
	//************************ ������Ϣ ****************************
	$smtp = new smtp($smtpserver,$smtpserverport,true,$smtpuser,$smtppass);
	$smtp->debug = true;
	$state = $smtp->sendmail($smtpemailto, $smtpusermail, $mailtitle, $mailcontent, $mailtype);


?>